package com.CST.controller;


import com.CST.annotation.*;
import com.CST.common.constant.*;
import com.CST.dto.DateDTO;
import com.CST.dto.InSourceDTO;
import com.CST.entity.*;
import com.CST.service.*;
import com.CST.vo.InSourceVO;
import io.swagger.annotations.*;
import java.util.*;
import org.springframework.beans.factory.annotation.*;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RestController;

/**
* @author ly
* @since 2022-08-29
*/
@Api(tags = {""})
@RestController
@RequestMapping("/etlInpatientIncome2021")

    public class EtlInpatientIncomeController {

    @Autowired
    private IEtlInpatientIncomeService targetService;

    @PostMapping("/HospitalizationIncome")
    @ApiOperation("获取住院收入明细")
    public List<InSourceVO> getHospitalizationList(@RequestBody InSourceDTO entity) {
        return targetService.getHospitalizationList(entity);
    }


}

